package com.daoeping.service.impl;

import java.util.List;

import com.daoeping.dao.Usr_projectexperienceDAO;
import com.daoeping.data.Usr_projectexperience;
import com.daoeping.service.Usr_projectexperienceService;

public class Usr_projectexperienceServiceImpl implements Usr_projectexperienceService {
	private Usr_projectexperienceDAO usr_projectexperienceDAO;
	
	public Usr_projectexperienceDAO getUsr_projectexperienceDAO() {
		return usr_projectexperienceDAO;
	}

	public void setUsr_projectexperienceDAO(Usr_projectexperienceDAO usr_projectexperienceDAO) {
		this.usr_projectexperienceDAO = usr_projectexperienceDAO;
	}

	@Override
	public boolean addUsr_projectexperience(Usr_projectexperience usr_projectexperience) {
		// TODO Auto-generated method stub
		return this.usr_projectexperienceDAO.insertData(usr_projectexperience);
	}

	@Override
	public boolean editUsr_projectexperience(Usr_projectexperience usr_projectexperience) {
		// TODO Auto-generated method stub
		return this.usr_projectexperienceDAO.updateData(usr_projectexperience);
	}

	@Override
	public boolean delUsr_projectexperience(Usr_projectexperience usr_projectexperience) {
		// TODO Auto-generated method stub
		return this.usr_projectexperienceDAO.deleteData(usr_projectexperience);
	}

	@Override
	public List<Usr_projectexperience> findUsr_projectexperienceList() {
		// TODO Auto-generated method stub
		return this.usr_projectexperienceDAO.findUsr_projectexperienceList();
	}

	@Override
	public List<Usr_projectexperience> findUsr_projectexperienceByID(int id) {
		// TODO Auto-generated method stub
		return this.findUsr_projectexperienceByID(id);
	}

	@Override
	public List<Usr_projectexperience> findUsr_projectexperienceByWorkexpId(int work_exp_id) {
		// TODO Auto-generated method stub
		return this.usr_projectexperienceDAO.findUsr_projectexperienceByWorkexpId(work_exp_id);
	}

}
